xend: Don't allow migrate with assigned PCI devs.
authorKeir Fraser <keir@xensource.com>
Sun, 1 Jul 2007 21:10:13 +0000 (22:10 +0100)
committerKeir Fraser <keir@xensource.com>
Sun, 1 Jul 2007 21:10:13 +0000 (22:10 +0100)
commit450f5b5b9e64c3afccc49fdec6af5b768cedaded
tree25c2904c1106fc61d0294dc9f6d5d7ce903fafc0
parent1dd1b5a9f6ad61d3a6df79ba66785644115656ad
xend: Don't allow migrate with assigned PCI devs.

This can potentially cause a whole machine crash, which I think has
been seen in the wild.  The case in the wild was caused by xendomains
auto-resuming domains on reboot, so it wasn't even operator error.

There's no sane way to migrate or suspend domains with PCI devs,
so I disallow it completely.

Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
tools/python/xen/xend/server/pciif.py